package com.gxa.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class HousePurchase {
  @TableId(type = IdType.AUTO)
  private Long id;
  private Long partnerId;
  private Byte isPoa;
  private String poaWay;
  private LocalDateTime hOrderDate;
  private Long forProjectId;
  private String forProjectName;
  private BigDecimal realHousePrice;
  private LocalDateTime scheduledPaymentDate;
  private Byte isBuyIn;
  private LocalDateTime buyInDate;
  private LocalDateTime transferDate;
  private Long customerId;
  private Long nationId;
  //合作方信息
  @TableField(exist = false)
  private PartnerInfo partnerInfo;
  //房产信息
  @TableField(exist = false)
  private List<House> houseList;

}
